package com.situ.blog.dao;


import com.situ.blog.pojo.entity.Blog;
import com.situ.blog.pojo.query.BlogQuery;

import java.util.List;

public interface IBlogDao {
    List<Blog> selectByPage(BlogQuery blogQuery);
    Integer selectTotalCount(BlogQuery blogQuery);

    void deleteById(Blog blog);

    void add(Blog blog);

    void updateStatus(Blog blog);
}
